package com.example.museum.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.museum.entity.Employee;

/**
 * 员工服务接口
 */
public interface EmployeeService extends IService<Employee> {
    
    /**
     * 分页查询员工
     * @param page 页码
     * @param size 每页大小
     * @return 分页结果
     */
    Page<Employee> getEmployeePage(long page, long size);

    Employee login(Employee employee);
}